/* 设置侧边导航的宽度为 250px */
function openMnav() {
    document.getElementById("mySideMnav").style.width = "250px";
}

/* 设置侧边导航的宽度为 0 */
function closeMnav() {
    document.getElementById("mySideMnav").style.width = "0";
}